﻿namespace LeafulWeiboSdk
{
    /// <summary>
    /// 微博开放平台API.
    /// </summary>
    internal struct WeiboApi
    {
        internal struct Statuses
        {
            internal const string PublicTimeline = "https://api.weibo.com/2/statuses/public_timeline.json";
            internal const string HomeTimeline = "https://api.weibo.com/2/statuses/home_timeline.json";
            internal const string FriendTimeline = "https://api.weibo.com/2/statuses/friends_timeline.json";
            internal const string UserTimeline = "https://api.weibo.com/2/statuses/user_timeline.json";
            internal const string UserTimelineIds = "https://api.weibo.com/2/statuses/user_timeline/ids.json";

            internal const string Update = "https://api.weibo.com/2/statuses/update.json";
            internal const string Upload = "https://upload.api.weibo.com/2/statuses/upload.json";
        }

        internal struct OAuth2
        {
            internal const string Authorize = "https://api.weibo.com/oauth2/authorize";
            internal const string AccessToken = "https://api.weibo.com/oauth2/access_token";
            internal const string TokenInfo = "https://api.weibo.com/oauth2/get_token_info";
        }

        internal struct Comments
        {
            internal const string Show = "https://api.weibo.com/2/comments/show.json";
        }

        internal struct Users
        {
            internal const string Show = "https://api.weibo.com/2/users/show.json";
        }

        internal struct Favorites
        {
            internal const string Create = "https://api.weibo.com/2/favorites/create.json";
            internal const string Destroy = "https://api.weibo.com/2/favorites/destroy.json";
        }

        
        internal const string Emotions = "https://api.weibo.com/2/emotions.json";
    }
}
